<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
        <div class="row text-center">
            <h3>{$row.name|htmlentities}</h3>
        </div>
         <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}" disabled>
            </div> -->

        <div class="form-group">

            <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>{:__('Name')}:</label>
            <div class="col-xs-12 col-sm-3">
                <input class="form-control"  type="text" value="{$row.name|htmlentities}" readonly="">
            </div>
            {if $row['tmp_name_status'] == STATUS_SUBMIT}
            <div class="col-xs-12 col-sm-4">
                <div class="input-group">
                        <span class="input-group-addon" >修改为</span>
                       <input id="c-name" class="form-control" name="row[tmp_name]" type="text" value="{$row.tmp_name|htmlentities}" readonly>
                </div>

            </div>
            <div class="col-xs-12 col-sm-3">
                修改原因：{$row['tmp_name_submit_desc']}
            </div>
            {/if}
        </div>

        <div class="form-group">

            <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>{:__('Inspect_time')}:</label>
            <div class="col-xs-12 col-sm-3">
                <input  class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true"  type="text" value="{:$row.inspect_time?datetime($row.inspect_time,'Y-m-d'):''}" data-rule="required" readonly>
            </div>
            {if $row['tmp_inspect_time_status'] == STATUS_SUBMIT}
            <div class="col-xs-12 col-sm-4">
                <div class="input-group">
                   <span class="input-group-addon" >修改为</span>
                   <input  class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true"  type="text" value="{:$row.tmp_inspect_time?datetime($row.tmp_inspect_time,'Y-m-d'):''}" data-rule="required" readonly>
                </div>
            </div>
            <div class="col-xs-12 col-sm-3">
                修改原因：{$row['tmp_inspect_time_submit_desc']}
            </div>
            {/if}
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>{:__('Inspect_address')}:</label>
            <div class="col-xs-12 col-sm-3">
                <input  class="form-control"  type="text" value="{$row.inspect_address|htmlentities}" data-rule="required" readonly>
            </div>
            {if $row['tmp_inspect_address_status'] == STATUS_SUBMIT}
            <div class="col-xs-12 col-sm-4">
                <div class="input-group">
                   <span class="input-group-addon" >修改为</span>
                   <input  class="form-control"  type="text" value="{$row.tmp_inspect_address|htmlentities}" data-rule="required" readonly>
                </div>
            </div>
            <div class="col-xs-12 col-sm-3">
                修改原因：{$row['tmp_inspect_address_submit_desc']}
            </div>
            {/if}
        </div>

        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>{:__('Leader_ids')}:</label>
            <div class="col-xs-12 col-sm-3">
                <input  class="form-control"  type="text" value="{$row.leader_names|htmlentities}"  readonly>
            </div>
            {if $row['tmp_leader_ids_status'] == STATUS_SUBMIT}
            <div class="col-xs-12 col-sm-4">
                <div class="input-group">
                   <span class="input-group-addon" >修改为</span>
                   <input  class="form-control"  type="text" value="{$row.tmp_leader_names|htmlentities}"  readonly>
                </div>
            </div>
            <div class="col-xs-12 col-sm-3">
                修改原因：{$row['tmp_leader_ids_submit_desc']}
            </div>
            {/if}
        </div>

        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>{:__('Accompany_name')}:</label>
            <div class="col-xs-12 col-sm-3">
                <input  class="form-control"  type="text" value="{$row.accompany_name|htmlentities}"  readonly>
            </div>
            {if $row['tmp_accompany_ids_status'] == STATUS_SUBMIT}
            <div class="col-xs-12 col-sm-4">
                <div class="input-group">
                   <span class="input-group-addon" >修改为</span>
                   <input  class="form-control"  type="text" value="{$row.tmp_accompany_name|htmlentities}"  readonly>
                </div>
            </div>
            <div class="col-xs-12 col-sm-3">
                修改原因：{$row['tmp_accompany_ids_submit_desc']}
            </div>
            {/if}
        </div>

        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>{:__('Inspect_memo')}:</label>
            <div class="col-xs-12 col-sm-3">
                <textarea class="form-control" readonly>{$row.inspect_memo|htmlentities}</textarea>
            </div>
            {if $row['tmp_inspect_memo_status'] == STATUS_SUBMIT}
            <div class="col-xs-12 col-sm-4">
                <div class="input-group">
                   <span class="input-group-addon" >修改为</span>
                   <textarea class="form-control" readonly>{$row.tmp_inspect_memo|htmlentities}</textarea>
                </div>
            </div>
            <div class="col-xs-12 col-sm-3">
                修改原因：{$row['tmp_inspect_memo_submit_desc']}
            </div>
            {/if}
        </div>

        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>{:__('项目状态')}:</label>
            <div class="col-xs-12 col-sm-3">
<!--                 <textarea class="form-control" readonly>{$row.project_status_name|htmlentities}</textarea> -->
            <input  class="form-control"  type="text" value="{$row.project_status_name|htmlentities}{if $row['project_status']>1}({$row.project_status_name|htmlentities}时间:{$row.project_time_text|htmlentities}){/if}"  readonly>
            </div>
            {if $row['tmp_project_status_status'] == STATUS_SUBMIT}
            <div class="col-xs-12 col-sm-4">
                <div class="input-group">
                   <span class="input-group-addon" >修改为</span>
                  <input  class="form-control"  type="text" value="{$row.tmp_project_status_name|htmlentities}{if $row['tmp_project_status']>1}({$row.tmp_project_status_name|htmlentities}时间:{$row.tmp_project_time_text|htmlentities}){/if}"  readonly>
                </div>
            </div>
            <div class="col-xs-12 col-sm-3">
                修改原因：{$row['tmp_project_status_submit_desc']}
            </div>
            {/if}
        </div>

        <div class="form-group layer-footer">
            <label class="control-label col-xs-12 col-sm-2"></label>
            <div class="col-xs-12 col-sm-8">
                <button type="button" class="btn btn-danger btn-rejectmemo">{:__('驳回备注')}</button>
                <button type="button" class="btn btn-success all_submit">{:__('审核所有')}</button>
            </div>
        </div>


</form>